<include file="./Tpl/Home/top.html"/>
<include file="./Tpl/Home/header.html" />
<!--交易页面的子导航区-->
<div  style="border-top:1px solid #ddd;"></div>
<div class="container">
<!--全站交易记录-->
<div class="trade-part trade-part-hd mt20">
  <div class="md">
	<div class="my-grid" id="order-grid">
		<div class="login_info">
		    <div class="login_info_left">
				<div class="login_tit">帐号登陆</div>
				<form action="{$path}/Login/go" method="post" id="formid">
				<ul>
					<li><span>登陆账号：</span><input type="text" name="username" placeholder="字母/数字/下划线" /></li>
					<li><span>登录密码：</span><input type="password" name="password" placeholder="6至20位有效字符"/></li>
					<li><span>验证码：</span><input type="text" name="code" placeholder="请输入验证码" style="width:130px;"/><img id="refresh" class="code_img" onclick="document.getElementById('refresh').src='{$path}/Login/checkcode/t/'+Math.random()" src="{$path}/Login/checkcode/" title="看不清？点一下"/></li>
					<li><input type="button" value="登录" id="subbtn" class="login_btn"/></li>
				</ul>
				</form>
			</div>
            <div class="login_info_right">
			    <div class="l_i_r">您还没有账户？</div>
			    <div class="l_i_t">
			        <input type="button" value="立即注册" onclick="javascript:location.href='{$path}/Login/reg'" class="reg_btn"/>
				</div>
				<a href="{$path}/Login/lostpwd" class="login_lost">忘记密码？请点击这里找回密码</a>
			</div>
			<div class="clear"></div>
		</div>
	</div>
  </div>
</div>
</div>
<!--尾部-->
<include file="./Tpl/Home/footer.html" />
<!-- footer -->

<div class="modal hide fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>

<!--[if IE 6]><script src="/js/ie-6.js"></script><![endif]-->
<script type="text/javascript" src="/Public/Home/js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="/Public/Home/js/slideTxtBox.js"></script>
<script type="text/javascript" src="/Public/Home/js/bootbox.js"></script>
<script type="text/javascript" src="/Public/Home/js/box.js"></script>
<script type="text/javascript" src="/Public/Home/js/lang.js"></script>
<script type="text/javascript" src="/Public/Home/js/responseHandler.js"></script>
<script type="text/javascript" src="/Public/Home/js/jquery.yiigridview.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(function($) {
jQuery('body').popover({'selector':'a[rel=popover]'});
jQuery('#order-grid').yiiGridView({'ajaxUpdate':['order-grid'],'ajaxVar':'ajax','pagerClass':'pagination','loadingClass':'grid-view-loading','filterClass':'filters','tableClass':'items table table-striped table-bordered table-condensed','selectableRows':1,'enableHistory':false,'updateSelector':'{page}, {sort}','filterSelector':'{filter}','pageVar':'CurrencyTransaction_page'});
});
/*]]>*/




$(document).ready(function(){
	$('#subbtn').click(function(){
	    if($('input[name=username]').val()==""){
		    msgDalog("请输入登录帐号！","",0);
		}else if($('input[name=password]').val()==""){
		    msgDalog("请输入登录密码！","",0);
		}else if($('input[name=code]').val()==""){
		    msgDalog("请输入验证码！","",0);
		}else{
		    $('#formid').submit();
		}
	});
});
</script>


</body></html>